package cn.rsa.aiwangren.entity;

import com.alibaba.fastjson.JSON;


/**
 * 密钥对
 *
 * @author xiangtianlei
 * @date 2024/04/09
 */
public class KeyPairs {
    private String privateKey;
    private String publicKey;

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
